html {
    --imgSize: 400px;
    --iconSize: 20px;
    --labelSize: 17px;
    --titleSize: 17px;
    --btnSize: 40px;
    --bannerHeight: 50px;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-image: url("${PROXY_URL}/__icon__/background/background5.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.content-container {
    min-height: 100%;
    backdrop-filter: blur(10px);
}
.banner {
    background: #303841;
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--bannerHeight);
    box-shadow: 0 0 10px #ff0000;
    z-index: 666;
}
#back {
    background-image: url("${PROXY_URL}/__icon__/back.svg");
    top: 50%;
    transform: translateY(-50%);
}
#back:hover {
    background-image: url("${PROXY_URL}/__icon__/back_h.svg");
}
#back:active {
    background-image: url("${PROXY_URL}/__icon__/back_a.svg");
}
#btn-upload-dlg {
    height: var(--btnSize);
    border-radius: 25%;
    box-shadow: inset 0 0 5px 1px #b38f2a;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#btn-upload-dlg:hover {
    background: #ffffff;
}
#btn-upload-dlg:active {
    background: #f78748;
}
#btn-download {
    height: var(--btnSize);
    border-radius: 25%;
    box-shadow: inset 0 0 5px 1px #5380d8;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ececec;
}
#btn-download:hover {
    background: #ffffff;
}
#btn-download:active {
    background: #cecece;
}
.mainbody {
    padding: 5px 5px var(--bannerHeight) 5px;
    text-align: center;
}
.title {
    color: white;
    font-size: var(--titleSize);
    position: absolute;
    left: 50%;
    top: 50%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    overflow: scroll;
    word-break: break-all;
}
.title::-webkit-scrollbar {
    display: none;
}
.img {
    margin: 20px;
    max-width: var(--imgSize);
    width: 80%;
    box-shadow: 0 0 5px black;
    vertical-align: middle;
}
.v-con img {
    margin: 20px;
    max-width: var(--imgSize);
    max-height: 300px;
    width: 80%;
    box-shadow: 0 0 5px black;
    vertical-align: middle;
    object-fit: contain;
}
.v-con {
    box-shadow: 0 0 5px black;
    border: 1px solid black;
    color: wheat;
    background: black;
    max-width: 600px;
    margin: auto;
}
.video {
    width: 80%;
    height: 400px;
    margin: auto;
    margin-bottom: 5px;
}
#can-audio, #player-audio {
    width: 80%;
}
.label {
    font-size: var(--labelSize);
    word-break: break-all;
    margin: 10px;
}
.sub-dir, .app {
    font-size: var(--labelSize);
    text-align: left;
    width: 100%;
}
.sub-dir img, .app img {
    height: var(--iconSize);
    vertical-align: middle;
}
.sub-dir a, .app a {
    overflow: hidden;
    word-wrap: break-word;
    vertical-align: middle;
}
footer {
    position: fixed;
    bottom: 0;
    height: var(--bannerHeight);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mainbody, footer {
    text-shadow: 0 0 20px #ff5c00;
}
#image-view-container {
    z-index: 999999;
    background: rgba(0, 0, 0, 0.85);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
}
#image-view-img-div {
    height: 90%;
    width: 90%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
#image-view-index {
    position: relative;
    font-size: var(--iconSize);
    text-align: center;
    color: wheat;
    overflow-wrap: break-word;
    margin: 5px calc(var(--btnSize) * 2);
    text-shadow: 0px 5px 5px rgb(255 0 0 / 50%);
}
#image-view {
    object-fit: contain;
    height: 100%;
    width: 100%;
}
#image-view-bottom {
    position: absolute;
    bottom: 5px;
    width: 100%;
}
#image-view-btn-left {
    left: 5px;
    bottom: 0;
    background-image: url("${PROXY_URL}/__icon__/prev.svg");
}
#image-view-btn-left:hover {
    background-image: url("${PROXY_URL}/__icon__/prev_h.svg");
}
#image-view-btn-left:active {
    background-image: url("${PROXY_URL}/__icon__/prev_a.svg");
}
#image-view-btn-right {
    right: 5px;
    bottom: 0;
    background-image: url("${PROXY_URL}/__icon__/next.svg");
}
#image-view-btn-right:hover {
    background-image: url("${PROXY_URL}/__icon__/next_h.svg");
}
#image-view-btn-right:active {
    background-image: url("${PROXY_URL}/__icon__/next_a.svg");
}
#image-view-btn-close {
    left: 5px;
    top: 5px;
    background-image: url("${PROXY_URL}/__icon__/close.svg");
}
#image-view-btn-close:hover {
    background-image: url("${PROXY_URL}/__icon__/close_h.svg");
}
#image-view-btn-close:active {
    background-image: url("${PROXY_URL}/__icon__/close_a.svg");
}
.image-view-btn {
    width: var(--btnSize);
    height: var(--btnSize);
    position: absolute;
    border: none;
    background-color: transparent;
    background-repeat: round;
    cursor: pointer;
}
#upload-container, .upload-back-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
}
#upload-container {
    z-index: 9999;
    display: none;
}
.upload-back-overlay {
    background: rgba(0, 0, 0, 0.5);
}
.upload-dlg {
    width: 90%;
    height: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    background: #f5e4e4;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 0 5px 1px #000000;
}
#fileInput {
    display: none;
}
.input-bar {
    max-height: 10%;
    display: flex;
    justify-content: center;
    margin: 20px;
}
#fileNum {
    padding: 7px;
    background: #cccccc;
    border-radius: 10px 0 0 10px;
}
#file-list {
    width: 90%;
    height: 250px;
    margin: auto;
    background: #ffffff;
    overflow: auto;
}
#btn-select {
    padding: 7px;
    background: #00b6ff;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}
#btn-select:hover {
    background: #00d7ff;
}
.btn-bottom {
    width: 90px;
    height: 35px;
    border: none;
    border-radius: 5px;
    margin: 15px;
    cursor: pointer;
}
#btn-start-upload {
    background: #66c92a;
}
#btn-start-upload:hover {
    background: #77d93b;
}
#btn-start-upload:active {
    background: #5ec51f;
}
#btn-start-upload:disabled {
    background: #7b8b71;
}
#btn-close {
    background: #db5656;
}
#btn-close:hover {
    background: #ff7575;
}
#btn-close:active {
    background: #f30303;
}
.file-view-line {
    height: 50px;
    margin: 5px;
    display: flex;
    align-items: center;
}
.file-view-line:not(:last-child) {
    border-bottom: 1px solid #d5d4d4;
}
.file-name {
    width: 40%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.file-size {
    width: 30%;
    text-align: center;
}
.file-state {
    width: 30%;
    text-align: center;
}
a {
    
}
a:hover {
    
}
a:active {
    
}